package com.cdzy.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试控制器
 */
@RestController
public class TestController {
    @GetMapping("/test")
    public int test() {
        int i = 9/0;
        return i;
    }
}
